[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Function            clear_typeahead - clear typeahead buffer

  Syntax              int clear_typeahead(void);

  Prototype in        keyboard.h

  Remarks             clears the typeahead buffer and returns the number
                      of keystrokes cleared

  Return value        number of keystrokes emptied from the typeahead
                      buffer

  Example             #include <keyboard.h>
                      #include <stdio.h>

                      main()
                      {
                           printf("# keystrokes emptied = %d",
                                  clear_typeahead());
                      }


This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson